package com.boco.modules.fdoc.service;

import java.util.List;

import com.boco.modules.fdoc.model.ServicepackDetailEntity;
import com.boco.modules.fdoc.vo.ServicepackDetailsVo;

public interface ServicePackDetailsService {

	/**
	 * 新增
	 * @param sdEntity
	 * @return
	 */
	public Integer addPackdetail(ServicepackDetailEntity sdEntity);

	/**
	 * 修改
	 * @param sdEntity
	 * @return
	 */
	public int updatePackDetail(ServicepackDetailEntity sdEntity);

	/**
	 * 获取总数
	 * @return
	 */
	public Integer getCount();

	/**
	 * 根据id获取服务项目详情
	 * Title ServicePackDetailsService.java
	 * Description: 
	 * @param id
	 * @return
	 * @author lzz
	 */
	public ServicepackDetailEntity getDetailInfo(Integer id);
	
	/**
	 * 
	 * Title ServicePackDetailsService.java
	 * Description: 
	 * @return
	 * @author lzz
	 */
	public Integer deleteDetail(ServicepackDetailEntity sDetailEntity);
	
	/**
	 * 根据姓名模糊查询服务项目列表
	 * Title SigServicepackService.java
	 * Description: 
	 * @param sVo
	 * @return
	 * @author lzz
	 */
	public List<ServicepackDetailEntity> getDetailListByName(ServicepackDetailsVo sVo);

	/**
	 * 获取所有服务项目
	 * Title ServicePackDetailsService.java
	 * Description: 
	 * @return
	 * @author lzz
	 */
	public List<ServicepackDetailEntity> getAll();

}
